package com.jsoft.jsofted.framework.utils;

import lombok.Data;

@Data
public class PageResult {
    private int pageIndex;
    private int pageSize;
    private int totalPages;
    private long totalRecords;
    private Object result;

    @Override
    public String toString() {
        return "PageResult{" +
                "pageIndex=" + pageIndex +
                ", pageSize=" + pageSize +
                ", totalPages=" + totalPages +
                ", totalRecords=" + totalRecords +
                ", result=" + result +
                '}';
    }
}
